{template 'header', $template}
<div class="dsn" id="pos_show">您当前的位置：<a href="{$COM[linkurl]}">首页</a> &raquo; <a href="{$MENU[$menuid][linkurl]}">{$MENU[$menuid][name]}</a>{if $itemid} &raquo; {$title}{/if}</div>
{if $itemid}
<div class="main_head"><div><strong>{$title}</strong></div></div>
<div class="main_body">
	<div class="lh18 px13">{$content}</div>
</div>
{else}
<div class="main_head"><div><strong>{$MENU[$menuid][name]}</strong></div></div>
<div class="main_body">
	<div class="lh18 px13">
	<table width="98%" cellpadding="3" cellspacing="3" align="center">
	<tr>
	<td><img src="{$COM[thumb]}" align="right" style="margin:5px 0 5px 10px;padding:5px;border:#C0C0C0 1px solid;"/>{$content}</td>
	</tr>
	</table>
	</div>
</div>
{if $video}
<div class="main_head"><div><strong>形象视频</strong></div></div>
<div class="main_body">
	{load('player.js')}
	<center><script type="text/javascript">document.write(player('{$video}',480,400,'',0));</script></center>
</div>
{/if}

<div class="main_head"><div><strong>公司档案</strong></div></div>
<div class="main_body">
	<div class="px13 lh18">
	<table width="98%" cellpadding="3" cellspacing="1" align="center">
	<tr>
	<td width="90" class="f_b">公司名称：</td>
	<td width="260">{$COM[company]}</td>
	<td width="90" class="f_b">公司类型：</td>
	<td width="260">{$COM[type]} ({$COM[mode]})</td>
	</tr>
	<tr>
	<td class="f_b">所 在 地：</td>
	<td>{area_pos($COM[areaid], '/')}</td>
	<td class="f_b">公司规模：</td>
	<td>{$COM[size]}</td>
	</tr>
	<tr>
	<td class="f_b">注册资本：</td>
	<td>{if $COM[capital]}{$COM[capital]}万{$COM[regunit]}{else}未填写{/if}</td>
	<td class="f_b">注册年份：</td>
	<td>{$COM[regyear]}</td>
	</tr>
	</table>
	<table width="98%" cellpadding="3" cellspacing="1" align="center">
	<tr>
	<td class="f_b">资料认证：</td>
	<td>
	{if $COM[vcompany]}&nbsp;<img src="{$MODULE[2][linkurl]}image/v_company.gif" width="16" height="16" align="absmiddle" title="资料通过工商认证"/>{/if}
	{if $COM[vtruename]}&nbsp;<img src="{$MODULE[2][linkurl]}image/v_truename.gif" width="16" height="16" align="absmiddle" title="资料通过实名认证"/>{/if}
	{if $COM[vbank]}&nbsp;<img src="{$MODULE[2][linkurl]}image/v_bank.gif" width="16" height="16" align="absmiddle" title="资料通过银行帐号认证"/>{/if}
	{if $COM[vmobile]}&nbsp;<img src="{$MODULE[2][linkurl]}image/v_mobile.gif" width="16" height="16" align="absmiddle" title="资料通过手机认证"/>{/if}
	{if $COM[vemail]}&nbsp;<img src="{$MODULE[2][linkurl]}image/v_email.gif" width="16" height="16" align="absmiddle" title="资料通过邮件认证"/>{/if}
	{if $COM[validated]}&nbsp;<img src="{AJ_SKIN}image/check_right.gif" align="absmiddle"/> 企业资料通过{$COM[validator]}认证{/if}	
	</td>
	</tr>
	{if $COM[mode]}
	<tr>
	<td class="f_b">经营模式：</td>
	<td>{$COM[mode]}</td>
	</tr>
	{/if}
	{if $COM[business]}
	<tr>
	<td class="f_b">经营范围：</td>
	<td>{$COM[business]}</td>
	</tr>
	{/if}
	{if $COM[sell]}
	<tr>
	<td class="f_b">销售的房源：</td>
	<td>{$COM[sell]}</td>
	</tr>
	{/if}
	{if $COM[buy]}
	<tr>
	<td class="f_b">采购的房源：</td>
	<td>{$COM[buy]}</td>
	</tr>
	{/if}
	{if $COM[catid]}
	<tr>
	<td width="90"  class="f_b">主营行业：</td>
	<td>
	{php $catids = explode(',', substr($COM['catid'], 1, -1));}
	<table cellpadding="2" cellspacing="2" width="100%">
	{loop $catids $i $c}
	{if $i%3==0}<tr>{/if}
	<td width="33%">{cat_pos(get_cat($c), ' / ', '_blank')}</td>
	{if $i%3==2}</tr>{/if}
	{/loop}
	</table>
	</td>
	</tr>
	{/if}
	</table>
	</div>
</div>
{if $could_comment && in_array($moduleid, explode(',', get_module_setting(3, 'comment_module')))}
<div id="comment_div" style="display:;">
	<div class="main_head"><div><span class="f_r px12">共<span id="comment_count">0</span>条&nbsp;&nbsp;</span><strong><span id="message_title">相关评论</span></strong></div></div>
	<div class="main_body"><iframe src="{$MODULE[3][linkurl]}comment.php?mid={$moduleid}&itemid={$COM[userid]}" id="aijiacms_comment" style="width:100%;" scrolling="no" frameborder="0"></iframe>
	</div>
</div>
{/if}

{/if}
{template 'footer', $template}